package com.backend.modules.system.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@Schema(description = "班级树形结构")
public class ClassTreeVO {
    
    @Schema(description = "部门ID")
    private Long id;
    
    @Schema(description = "部门名称")
    private String name;
    
    @Schema(description = "部门类型(1:学院,2:专业,3:班级)")
    private Integer type;
    
    @Schema(description = "父级ID")
    private Long parentId;
    
    @Schema(description = "完整路径")
    private String fullPath;
    
    @Schema(description = "子节点")
    private List<ClassTreeVO> children = new ArrayList<>();
} 